<div id="xeDocsTree">
	<div id="xeDocsSearch">
		<form action="{getUrl('mid', $mid, 'search_keyword', $search_keyword, 'act', 'dispXedocsSearchResults', 'vid', $vid)}" method="get" >
			<input type="hidden" name="search_target" value="title_content" />
			<input type="hidden" name="act" value="dispXedocsSearchResults" />
                        <input type="hidden" name="error_return_url" value="" />

			<input id="xeDocsSearchText" type="text" name="search_keyword" value="{$search_keyword}" class="xeDocsInputText" />
			<input id="xeDocsSearchButton" type="submit" value="" title="{$lang->Search}" />
		</form>
	</div>
	<h3>Table of contents:</h3>
	<!--@if(count($documents_tree))-->
	<ul>
		<!--@foreach($documents_tree as $node)-->
		<li class="xedocsTreeNode" style="
			<!--@if($node->type == 'root' || $node->type == 'active_root')-->
				list-style-image:url('./modules/xedocs/skins/default/img/icon_root.png');
			<!--@elseif($node->type == 'parent')-->
				list-style-image:url('./modules/xedocs/skins/default/img/icon_up_one_level.png');
			<!--@elseif($node->type == 'sibling')-->
				list-style-image:url('./modules/xedocs/skins/default/img/icon_current_directory.png'); margin-left: 15px;
			<!--@elseif($node->type == 'child')-->
				list-style-image:url('./modules/xedocs/skins/default/img/icon_current_directory.png'); margin-left: 30px;
			<!--@elseif($node->type == 'current')-->
				list-style-image:url('./modules/xedocs/skins/default/img/icon_current_directory.png'); margin-left: 15px; font-weight: bold;
			<!--@elseif($node->type == 'active_root')-->
				font-weight: bold;
			<!--@end-->
		">
			<a href="{$node->href}">
				{$node->title}
			</a>
		</li>
		<!--@end-->
	</ul>
	<!--@end-->
</div>